/*
 * Point.h
 *
 *  Created on: 22 янв. 2013
 *      Author: alex
 */

#ifndef POINT_H_
#define POINT_H_



struct Point
{
	double x,y,angle;
	Point(double X,double Y):x(X),y(Y),angle(0){}
	Point(double X,double Y,double theta):x(X),y(Y),angle(theta){}
	bool operator == (const Point& rhs){return x==rhs.x&&y==rhs.y;}
	bool operator != (const Point& rhs){return !((*this)==rhs);}
};
struct Tile
{
	int x,y;
	Tile(int X,int Y):x(X),y(Y){}
	bool operator == (const Tile& rhs){return x==rhs.x && y==rhs.y;}
	bool operator != (const Tile& rhs){return !((*this)==rhs);}
};

#endif /* POINT_H_ */
